package com.situ.study.day9.inter;

//不管是继承一个类还是实现一个接口，都可以理解为父类
public class DaYan extends AbstractBird implements IFly, ITest{
    @Override
    public void egg() {
        System.out.println("DaYan.egg");
    }

    @Override
    public void fly() {
        System.out.println("DaYan.fly");
    }

    public void print() {
        System.out.println("DaYan.print");
    }

    @Override
    public void show() {
        System.out.println("DaYan.show");
    }
}
